#[[
 * Copyright (c) 2024 iSOFT INFRASTRUCTURE SOFTWARE CO., LTD.
 * easyAda is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
]]

cmake_minimum_required(VERSION 3.7.2)

add_sources(
    DEP "UartPl011"
    CFILES kernel/drivers/serial/uart_pl011.c
)

add_sources(
    DEP "UartRpi4b"
    CFILES kernel/drivers/serial/uart_rpi4b_mini.c
)


add_sources(
    DEP "UartG9x"
    CFILES kernel/drivers/serial/uart_g9x.c
)


add_sources(
    DEP "UartBsta1000"
    CFILES kernel/drivers/serial/uart_bst.c
)
